package imnu.work.work_1;

/**
 * @author: lys
 * @类名: Test
 * @Title:
 * @date: 2020/7/14
 **/
public class Test {
    public static void main(String[] args) {
        Student[] s = new Student[4];
        s[0] = new Student(1001,"张三",95);
        s[1] = new Student(1002,"李四",78);
        s[2] = new Student(1003,"小明",98);
        s[3] = new Student(1004,"王五",60);

        Student.sortGrade(s);

        for(Student a:s){
            System.out.println(a.toString());
        }

    }
}
